package com.fand.manager.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.index.CompoundIndex;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Author: zhangjiabin
 * Email: javaboyok@163.com
 * CreateDate: 2021/6/23
 * Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document
@CompoundIndex(name = "sysUserDayRecord")
public class SysUserDayRecord {

    private String loginDate;
    private Long loginCount;
    private Long loginSum;
    private Long time;
    private String dateTime;
}
